#include "ProBar.h"



void probar()
{
  char barr[BSZ];
  memset(barr,'\0',sizeof(barr));
  const char* bar = "|\\-/";
  int i = 0;
  while(i < 101){
    printf("[%-100s][%2d][%c]\r",barr,i,bar[i%4]);
    fflush(stdout);
    usleep(100000 );
    barr[i++] = '#';
  }
  printf("\n");

}

